package com.jdrx.ocp.beans.entity;

import com.jdrx.platform.commons.rest.beans.dto.PageBaseDTO;

import java.util.Date;

/**
 * @ClassName: CronTabPO
 * @Description:任务管理PO
 * @author: yangfang
 * @date: 2018/12/10 11:40
 */
public class CronTabPO extends PageBaseDTO{

    /**主键ID*/
    private Long id;
    /**平台标识符*/
    private String prefix;
    /**任务名称*/
    private String taskName;
    /**执行调用的地址*/
    private String url;
    /**参数*/
    private String param;
    /**任务描述*/
    private String remark;
    /**调度执行时间(简单时间或cron)*/
    private String time;
    /**任务状态 0 启用 1 停用*/
    private Integer status = 0;
    /**创建人ID*/
    private Long createBy;
    /**创建时间*/
    private Date createAt;
    /**修改人ID*/
    private Long updateBy;
    /**修改时间*/
    private Date updateAt;
    /**删除标识 见枚举EDeleteFlag*/
    private String delFlag;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getParam() {
        return param;
    }

    public void setParam(String param) {
        this.param = param;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }

    public Long getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(Date updateAt) {
        this.updateAt = updateAt;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getPrefix() {
        return prefix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }
}
